@import "../common.less";

@notificationPanelBgColor: rgba(0, 0, 0, .6);
.notificationPanel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: @notificationPanelBgColor;

  .notificationContent {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 60%;
    max-height: calc(100% - 360px);
    margin: 180px auto;
    padding: 36px 24px 24px;
    border-radius: 16px;
    background: @allWhite;

    .notificationDesc {
      flex: 1;
      overflow: auto;

      /deep/ img {
        max-width: 100%;
      }
    }

    .turnPageArea {
      flex: 0 0 16px;
      display: flex;
      justify-content: space-between;
      margin-top: 24px;

      .btn {
        cursor: pointer;
        font-size: 12px;

        .arrowDesc {
          max-width: 210px;
          display: flex;
          align-items: center;
        }

        .btnText {
          max-width: 200px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          text-decoration: underline
        }

        .btnText {
          max-width: 200px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        &:hover {
          color: @allPrimaryColor;
        }
      }

      .el-icon-arrow-left {
        margin-right: 8px;
      }

      .el-icon-arrow-right {
        margin-left: 8px;
      }
    }

    .closeBtn {
      position: absolute;
      top: 12px;
      right: 24px;
      font-size: 18px;
      cursor: pointer;

      &:hover {
        color: @allPrimaryColor;
      }
    }
  }
}
